package cn.tedu.wufl.xcw.dao;

import cn.tedu.wufl.xcw.po.Content;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface ContentDAO {
    int insert(Content record);

    int delete(int id);

    Content selectByPrimaryKey(int id);

    List<Content> selectAll();

    int updateByPrimaryKey(Content record);
}